package com.woniuxy.kaer.user.service;

import com.woniuxy.kaer.user.dto.UserInfoDTO;
import com.woniuxy.kaer.user.form.SelectAddressForm;
import com.woniuxy.kaer.user.model.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.kaer.user.param.*;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sun
 * @since 2025年02月17日
 */
public interface UserInfoService extends IService<UserInfo> {

    public void register(RegisterParam param)throws Exception;

    public UserInfoDTO userNameLogin(UserInfoLoginParam param)throws Exception;

    public void uploadHeader(UpLoadHeaderParam param)throws Exception;

    public void changePassword(Integer userId, String newPassword)throws Exception;


    public UserInfoDTO selectSelf(Integer userId)throws Exception;

    public UserInfoDTO verifyCodeLogin(VerifyCodeParam param)throws Exception;

    public void sendLoginVerifyCode(String mobile)throws Exception;

    public void checkOldPassword(Integer userId, String oldPassword)throws Exception;


    public void sendRegisterVerifyCode(String mobile)throws Exception;

    public void updatePoint(UpdatePointParam param)throws Exception;


    public void selectAddress(SelectAddressParam param)throws Exception;
}
